﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace Treinamento2015_01.Models
{
    public class StockViewModel
    {
        [Key]
        public int Id { get; set; }

        [Display(ResourceType = typeof(Resources.General.Resource), Name = "Product")]
        public int IdProduct { get; set; }

        [Display(ResourceType = typeof(Resources.General.Resource), Name = "Product")]
        public ProductViewModel Product { get; set; }

        [Display(ResourceType = typeof(Resources.General.Resource), Name = "Quantity")]
        public int quantity { get; set; }

        public Double TotalValue { get; set; }
    }
}